Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 399 Weeks Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 14 Jul 2017 My Price 9.00

catch error conditions

I have a project due that I don't understand how to write. I'm new to programming and my online teacher is no help. Heres the questions I don't understand how do I proram this using VC++.

PASS BY VALUE FUNCTIONS,

1, Day of the Week: Write a function that has an integer as a parameter. The function will return a string that represents the day of the week. If the parameter is a 1, the function will return the string A????1MondayA????1. If the parameter is not between 1 and 7 the function should return "ERROR" Write a driver program to test your function. You are required to use a switch statement in your function. Use the default case to catch error conditions.

NOTE: for string variables use:

#include using namespace std;

int main()

{

string day; // day is a string variable A????1

Answers

(5)
Status NEW Posted 14 Jul 2017 11:07 PM My Price 9.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------

Not Rated(0)