+ 2
What is the use of " char n = 'V' " in the program typed in the description ?
#include <stdio.h> int main() { char n = 'V'; if (!(n == 'x' || n == 'X')) printf("Roman numeral is not 10.\n"); }
1 Odpowiedź
+ 5
Hi Razha Garrix!
Char stands for character (in this case "V")
V = 5 in Roman Numerals and X = 10