need help with assignment

1. Output to the console the following heading (at the top):
**********************
Assignment 5
************************
2. Ask the user to input a letter. This letter will be a variable of type char.
3. Output the integer value of that letter to the console.
4. Prompt the user to enter a number between 33 and 254.
5. Output the ascii character associated with that number.
6. Prompt the user to enter a lower case character.
7. Output the upper case version of that same character.
8. Prompt the user to enter a number of hours
9. Output the number of equivalent minutes
10. Prompt the user to input a number of minutes greater than 60
11. Output the number of hours and any remaining minutes this would be

here is my work please help me if its incorrect:
#include <iostream>
using namespace std;
int main()
{

char letter[] = "a";
cout<< "97:" ;
cout << "Enter a number between 33 and 254: ";
char ascii;
int numeric;
cout << "b: ";
if((islower("q"))
char(toupper("Q"))
double hours;
Last edited on
well,good luck :)
You really have to give this a go and come back for help when you have more specific problems.
if you ask
cout << "Enter a number between 33 and 254: ";

you need at least cin>>
Topic archived. No new replies allowed.