Course Solutions Uncategorized (Solved) : Please Read Queastion 1 2 Answer Question Number2 Ex 1 2 Points Write Program Following St Q26323565 . . . .

(Solved) : Please Read Queastion 1 2 Answer Question Number2 Ex 1 2 Points Write Program Following St Q26323565 . . . .

 

please read queastion 1 and 2 andjust answer question number2.

Ex-1 (2 points):

Write a program that has thefollowing statements.

It needs a main() function and thestandard IO libraries.

cout << “7/3    = ” << 7/3    << endl;

cout << “7.0/3   = “<< 7.0/3   << endl;

cout << “7.0/3.0 = ” <<7.0/3.0 << endl;

cout << “7%3   = ” << 7%3     << endl;

Ex-2 (2points):

Repeat Ex-1, but this time usingvariables instead of numeric literals.

For example:

int x = 7;

int y = 3;

float a = 7.0;

float b = 3.0;

Expert Answer


An answer will be send

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post