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
why we use abstract in awt?
Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.
Explain what is OOPS and its concepts?
what is class module in vb6? what it's use? with example..
pleasew define carrier scope in abap (sap).
What is the purpose of
Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.
code for connection from windows forms to sql server
How does the TCP handle the issue of multiplexing?
public static void main(String args[]) describe it
what is difference between object oriented programming structure and object oriented programming system?
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
Write a program to find whether a given number is prime or not.
Delta 5 weight scale not connect with oracle application what i can do?