#include <iostream> using namespace std; #define PI 3.14159 #define TAB '/t' #define NEWLINE '/n' // Ok lets just test this out int main () { Cout << "Hello. Please Enter your name Here. :"; string name; Cin >> name; Cout << NEWLINE <<"Thank you" name ". This program is used to find the circumference of a circle." << NEWLINE; Cout << "Enter circle's radius now"; float r; Cin >> r >> NEWLINE; float circumference = 2 * r * PI Cout << NEWLINE << ; "Thank you very much! If the radius is" << r << ",then your circles circumference is " << circumference << "!" << NEWLINE; Cout << TAB << "Have a nice day, " << name; return 0; } |