Tech: Artificial Intelligence AI, Blockchain, Augmented Reality, Software, Programming, and more
Sunday, August 30, 2020
agree.c
#include <cs50.h>
#include <stdio.h>
int main(void)
{
char c = get_char("do you agree?\n");
if (c== 'y' || c=='Y')
{
printf("agreed\n");
}
else if (c=='n' || c=='N')
{
printf("do not agree\n");
}
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)