# Projectname celsius 3 anne spent xpesos for shoes

• No School
• AA 1
• 5

This preview shows page 1 - 5 out of 5 pages.

ProjectName: celsius 3. Anne spent x_pesos for shoes. This was Php14 less than twice she spent for a blouse. Given the value of the shoes by the user, create a program that will display the price of the blouse. projectName: blouse

Subscribe to view the full document.

Sample: Source Code: //Roxanne A Pagaduan /*Assessment Task: Prelim Laboratory Activity No 1 Creating Program using cout function*/ #include <iostream> using namespace std; main() { cout<<"Hello World!"<< endl; cout<<"Hello IT11FA1"<< endl; cout<<"Welcome to T.I.P :)"<< endl; } Sample Output:
ANSWER: 1. Source code: #include <iostream> using namespace std; main () { float dollar, peso; cout <<"Enter dollar value: "; cin >> dollar; cout<<endl; peso = dollar * 46.75; cout <<"Dollar in peso value is " <<peso <<" P"; } Sample Output:

Subscribe to view the full document.

2. Source code: #include <iostream> using namespace std; main () { float celsius, fahrenheit; cout << "Enter Fahrenheit value: "; cin >> fahrenheit; cout<<endl; celsius = (fahrenheit - 32) * 5 / 9; cout << "Fahrenheit value in Celsius is " << celsius; } Sample Output:
3. Source code: #include <iostream> using namespace std; main () { int shoes, blouse; cout <<"Enter Shoe Value: "; cin>> shoes; system("CLS"); blouse = (shoes + 14)/2; cout <<"Anne spent " <<shoes <<" for the shoes." <<endl; cout <<"While the blouse only costs " <<blouse <<"."; } Sample Output:
• Fall '19

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes