Dude, your fucking programming! LAB2Q3

 

 

 

#include <stdio.h>

void main(){

//variables
int input;

printf(“Enter a value betwene 1 and 100…”);
scanf(“%d”, &input);

if(input >= 1 && input <= 20) {

printf(“Dude, this number is totally between 1 and 20”);

}
else{
printf(“Dude, that is totally NOT between 1 and 20.”);

}

}

Leave a Reply

Your email address will not be published. Required fields are marked *