I need help grabbing mixed char string and double information out of a txt file only using if, if-then, and if-else statements

Viewed 24

Ok, so I need to use the int main(int argc, char*argv[ ]) to grab a txt file with information that reads like

  1. a 6
  2. b 7
  3. c 8
  4. ? equilateral

the limitations are I am only allowed to use if, if-then, and if-else statements, and i need to use command line int main.

I think I could do the rest of the assignment if I could only get the number values out of the frikin file

0 Answers
Related