subject

// creates a homeworkassignment class// instantiates two objects// and prompts the user for infromation about two coursesusing static system, console; class debugnine1{static void main(){homeworkassignment course1 = new homeworkassignment(); homeworkassignment course2 = new homeworkassignment(); string entrystring; int exercises; // get info for first classwrite("what class do you have homework for? "); entry = readline(); course1.classname = entrystring; write("how many exercises must you complete? "); entrystring = readline(); int. tryparse(entrystring, exercises); exercises = course1.numberofexercises;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:10
3. (5 points) describe what would be printed by the code below or what error would occur. const char* cstr = "0123456"; const char* ptr = & cstr[4]; cout < < ptr[-1] < < ptr < < endl; 1 4. (5 points) theseus has been trapped in a maze with a minotaur, which is trying to capture him. each round, theseus and the minotaur move through the maze; theseus towards the exit, and the minotaur towards theseus. theseus can move in any of the four cardinal directions, or he can wait for a round to see how the minotaur moves. write code that creates a data type to represent the possible moves that theseus could make.
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 23.06.2019 04:10
2pointswho was mikhail gorbachev? oa. a russian leader who opposed a coupob. a polish leader who founded the labor union "solidarityoc. a soviet leader who called for a closer relationship with the unitedstates, economic reform, and a more open societyd. a soviet leader who called for more oppression in the soviet union
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
You know the right answer?
// creates a homeworkassignment class// instantiates two objects// and prompts the user for infromat...
Questions
question
Mathematics, 17.07.2019 00:10
question
Mathematics, 17.07.2019 00:10
question
Geography, 17.07.2019 00:10