Programming-Arithmetic-Operators-computer-science-homework-help
Write a program that asks the user to input two real numbers, n1 and n2 . Compute the sum n1 + n2 , the difference n1 – n2 . the product n1 · n2 , and the quotient n1 / n2 (assume n2 ≠0 ), and output the results. Your program output should be formatted as follows:
Enter a real number n1: 64.67 Enter a real number n2: -14.2 64.67 + -14.2 = 50.47 64.67 – -14.2 = 78.87 64.67 * -14.2 = -918.314 64.67 / -14.2 = -4.55423 Press any key to continue |
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
