hi, I am trying to write a switch statement but I missed this lesson and have no clue how to write this. it looks easy but this is my first c++ course. ok here is what it says and here is what I have so far. Write a switch statement to print Nickel if the value of a variable coin is 5, Dime if the value is 10 and Quarter otherwise.
switch ( value )
{
value 5: cout << " Nickel" ;
break;
value 10: cout << "Dime";
break;