- 1

Can you give me an example even just the first to put in my code... Cause I dont know how to start..

Write a C# program that will compute the sum, difference , product and qoutient of two numbers which will be entered by the user.

5th Apr 2022, 7:08 AM
Jus Tine
3 Respostas
+ 2
int x =Convert.ToInt32(Console.ReadLine()); int y =Convert.ToInt32(Console.ReadLine()); int sum=x+y; int minus=x-y; int prod=x*y; If(y!=0) { double div=Convert.ToDouble(x/y); } int remainder =x%y;
10th Apr 2022, 2:40 AM
Jackie
Jackie - avatar
+ 1
You can start here, though its just sum() https://code.sololearn.com/cXRLX70BtpIN/?ref=app
5th Apr 2022, 9:13 AM
ShadowCipher
ShadowCipher - avatar
+ 1
Thank you Josh
5th Apr 2022, 9:22 AM
Jus Tine