The sample program provided below should be used as a


PLEASE HELP C++ program:

The purpose of LAB # 1is to familiarize the student with the overall environment (the computer lab, the C++ compiler, and the procedure for editing, compiling, and executing a program) in which to develop C++ programs.

The sample program provided below should be used as a starting point, and can be typed in full as seen.

Depending on the environment, minor adjustments may have to be made.

/* C++ program to convert from Celsius to Fahrenheit */

/* and from Fahrenheit to Celsius */

/*

#include

Using namespace std;

Void main()

{

double Celsius;

double Fahrenheit;

cout << "Hello. Welcome to the Temperature Conversion program" << endl;

cout << "Please enter the degrees in Celsius and press ENTER: " << endl;

cin >> Celsius;

Fahrenheit = ((9.0/5)*Celsius) + 32;

cout << " Degrees Fahrenheit = " << Fahrenheit << endl;

cout << "Please enter the degrees in Fahrenheit and press ENTER: " << endl;

cin >> Fahrenheit;

Celsius = (5.0/9) * (Fahrenheit - 32);

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: The sample program provided below should be used as a
Reference No:- TGS02889302

Expected delivery within 24 Hours