Posted by Karina on Sunday, September 18, 2011 at 2:23pm.
Just wanna know if this is right!!!
#include <iostream>
#include <string>
using namespace std;
const string DAY1 = "Monday"; //days in the week
const string DAY2 = "Tuesday";
const string DAY3 = "Wednesday";
const string DAY4 = "Thursday";
const string DAY5 = "Friday";
const string FIRST = "9:00"; //times of classes
const string SECOND = "11:00";
const string THIRD = "2:00";
const string FOURTH = "4:00";
int main()
{
cout<< DAY1 <<" "<< FIRST <<" "<<"Computer Science 101"<<endl;
cout<< DAY1 <<" "<< SECOND <<" "<<"Physics 201"<<endl;
cout<< DAY1 <<" "<< THIRD <<" "<<"Dance 153"<<endl;
return 0;
}
Related Questions
Fund of programming 1 - Write a program that prints out your course schedule for...
programming - java, write a program that prints out the letter X composed of ...
programming - I am having trouble writing this program for java. can anybody ...
programming - write a program in C# that calculates and prints the take home pay...
Programming - Write a pseudocode program that asks the user for an integer ...
c programming - every week from monday to friday you go to class. when it is ...
Computer (Programming with Python) - Problem 1: Multiplication Drill Computers ...
programming - can anybody help me out with this code: write a program that ...
PROGRAMMING - PLS, I NEED TO BE GUIDED ON HOW TO WRITE A SIMPLE PROGRAM IN BASIC...
programming - Your goal for this project is to write an unsigned 16-bit software...
For Further Reading