Friday, July 30, 2021

C Program for Covid testing

 #include <stdio.h>

int main()

{

    int symptoms,days; 

    printf("no of symptoms:");

    scanf("%d",&symptoms);

    printf("no of days:");

    scanf("%d",&days);

    if(symptoms==4 && days==7)

{

    printf("covid positive");

}

else if(symptoms>3 && days>3)

{

    printf("normal feve\n covid negative");

}

else

{

    printf("normalcold\n covid negative");

}

    return 0;

}


USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...