Commit f9300a29 by emonyi

Upload New File

parent 4d8cad48
Showing with 22 additions and 0 deletions
#include <stdio.h>
int main () {
char name[100]; // this is an array of 100 characters
int code; // this is an integer
printf("Please enter the name and code\n");
scanf("%s", name);
scanf("%d", &code);
if( (code > 99999) && (code < 1000000)){
printf("hello! and welcome to coding %s, %d", name, code);
}else{
printf("nice try buster, but i dont think you have got a code");
}
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment