Answer to Question #310298 in C++ for christine traya

Question #310298

// quotient.cpp



// Author: Mr jake R. pomperada, BSCS, MAED- IT



// Date: august 14, 2018 Tuesday



// Location: Bacolod City, Negros occidental



// Website: http://www.jakerpompereda.com

1
Expert's answer
2022-03-12T12:46:29-0500




// quotient.cpp
// Author: Mr jake R. pomperada, BSCS, MAED- IT
// Date: august 14, 2018 Tuesday
// Location: Bacolod City, Negros occidental
// Website: http://www.jakerpompereda.com




#include <iostream>


using namespace std;




//The start point of the program
int main(){
	int numerator,denominator;
	cout<<"Ente numerator: ";
	cin>>numerator;
	cout<<"Ente denominator: ";
	cin>>denominator;
	
	int quotient=numerator/denominator;
	int remainder=numerator%denominator;
	
	cout<<"Quotient : "<<quotient<<"\n";
	cout<<"Remainder: "<<remainder<<"\n";


	system("pause");
	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment