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
What is autocall macro and how to create autocall macro? what is the use of it?
It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?
Which design patterns have you used?
8.In DSP,Define Signal and System?and various type of signals.
will it allow to add same value in HashMap class.
What is dialog programming?
What are the tasks performed by a Team Lead
what is the diffrence between software and hardware language?
is it possible to learn sap from book without any tutorial. if yes please mention the beginner,s book of sap and also make your valuable advice for self study of sap .
Is the IT field raise again? What is the position of IT after 4 years?
what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!
Write a program to reverse a number?
what is session state?
What is test execution and when will we start execution please send me one example for this question
write a sql qwery which include joining of two tables 4 marks mainframe