I am trying to open a file and read its content which is:
each line has two set of numbers separated by a space.
I know how to open the file
but I want to use these numbers in calculatuion say the first number is income the second number is tax rate I want to calculate tax amount.
How can I have the program to take the first number and multiply it by the seconfd number and print the result on the screen
than do the same for the secon line.
I tried so many things but I am getting know where so please help