Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a Pseudo Code to fins the LCM of two given numbers

Answer Posted / shailendra

#include <iostream>
using namespace std;
int main()
{
int x,y,z;
cout<<"Enter First Integer:";
cin>>x;
cout<<"\nEnter Second Integer:";
cin>>y;
z=1;
while(x/z==1 && y/z==1)
{
z=x/y;
cout<<"The LCM of Both Numbers is:"<<z;
}
return 0;
}

Is This Answer Correct ?    8 Yes 69 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

2164


What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?

2131


what are the differences between CONS, LIST, and APPEND

5324


What is autocall macro and how to create autocall macro? what is the use of it?

2035


what is best way to create a Thread class & why?

2132


How to get the index of the clicked field in reports in ABAP?

1680


can we use commit,rollback in triggers and how?

1958


Which method protects back button to retrieve old value from previous page in Struts.

1843


Which design patterns have you used?

1979


what do u mean by tagging

2049


what is diff bet ref variable & instance of class

1981


why we use abstract word in abstract window toolkit in java language.

2174


What are the Short cut Keys of Tally ERP?

2288


How to call dll API sub routine in VB Form.

2345


what is meaning of MDM in sap?let me know that meaning

2241