attached is a copy of the assignement

1 answer below »
attached is a copy of the assignement
Answered Same DayMar 06, 2021

Answer To: attached is a copy of the assignement

Pratik answered on Mar 06 2021
145 Votes
#include
int main()
{
    int T;
    char c;
    printf("What is the temperature ? (in Fahrenh
eit) \n");
    scanf("%d",&T);
    printf("Is it snowing/raining outside ? (y/n)\n");
    scanf(" %c",&c);
    if(c=='Y')c='y';
    if(c=='N')c='n';
    switch(c)
    {
        case 'y':
        case 'n': break;
        default...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here