Hello, I have been trying to set variables for a long time and I can't figer it out!
So If you know how to set variables in C, PLEASE POST IT HERE!
So If you know how to set variables in C, PLEASE POST IT HERE!
<script> <!-- var TEST = prompt ("Type some thing","") TEST2=10 if (TEST2 == "10" || TEST == "20"){ document.write("Hello") } else { document.write("hi") } //--> </script>
printf("words are in here")
#include <stdio.h>
int main () {
char TEST [20]= "type something";
int TEST2 = 10;
if ( TEST2 == 10 || TEST2 == 20 ){
printf("%s","Hello");
}
else {
printf("%s","hi");
}
return 0;
}
#include <stdio.h>
int main () {
char TEST [20];
int TEST2 = 10;
//shmooves coded added here....
printf("Type Something\n");
scanf("%s",TEST);
printf("You entered : %s.\n", TEST);
if ( TEST2 == 10 || TEST == "20" ){
printf("%s","Hello");
}
else {
printf("%s","hi");
}
return 0;
}
Comment