0

User input for table of functions

My professor wants us to print a table of values from x=-2 to x=3 for f(x)=5x-9. Then he wants us to ask the user for a start and stop for x-values for the same function and I don't know what to after asking for the start and stop values. Can someone explain please? https://code.sololearn.com/cb85BHP3qvAf/#cpp

22nd Sep 2020, 6:27 AM
Krista Clark
Krista Clark - avatar
2 Answers
+ 1
I ended up using a for loop for it. Sorry for the late reply. It worked for me I just feel like it could be a little cleaner looking.
1st Oct 2020, 1:49 AM
Krista Clark
Krista Clark - avatar
0
Have solved this yet? it's been 6 days.
28th Sep 2020, 2:40 PM
Ipang