Problem solving with Selection Statements
Write a program to read two numbers and print the sum of the numbers when they are different. If both numbers are same, double the su
print.
Example: If 4 and 5 are given, print 9. If 10 and 10 are given, print 40.
At the time of execution, the program should print the message on the console as:
Enter two numbers
For example, if the user gives the input as
Enter two numbers
lau
then the program should print the result as:
Note: Do use the printfi function with a newline character ( \n).
Answers
Answered by
0
Answer:
sorry mate I m not able to get what r u asking
Answered by
0
Answer:
sry yaar kuch bhi nahi maalumhua
Similar questions
Social Sciences,
4 months ago
Social Sciences,
4 months ago
Math,
4 months ago
Physics,
8 months ago
Physics,
8 months ago
English,
11 months ago
Math,
11 months ago