Ok i know this sounds pathetic at this time of the year me asking for something this easy for help on on visual studio 2010 C++ class, i'm still shaky on my coding i need help badly cause this is a class i needed to take for my major but off my sob story what i need help with is my teacher wants use to + - / x with 1-6 in series for each of them and make sentences with words
jane
doe
is
married
to bob
mackey
.
they
live
on
a
moutain
.
like i wrote a algorithm for it and when he looked at he justed ripped it up and said no thats wrong and im completely frustrated on what to do can some one help?
he wants us to to use numbers 1-6 in series for + - * / and use those words to create 2 sentences with it thats all he told us to do. Like i dont even know where to even begin with my coding for this cause we were never really taught he would just give us a skeleton of the stuff then haave 8 of us work together and then when he would check it delete it and just give us to code without explaning. but all i know with the code is what he asked me using.
this is my guess to your question
i need coding for like a display, read,write, the series of math,and sentences procedures
he wants to be able to open the file "DATA_in.txt
and "data_out.txt"
like any help for me to get started would be awesome
like i know i would have to use like a for loop for this knowing the range but i dont know how to write how to use it for the math and sentence creating
those are the inputs i need to use and he said the int are going to be
# +int
# -int
# +int
# 0.xxx
thats all he told us and to make a sentence of our own but i dont know how to make one in general with the one he gave us but if i was shown i could probably do it but he gave us the vague directions just have it add like 1+2+3+4+5+6 then 1-2-3-4-5-6 , 1*2*3*4*5*6, 1/2/3/4/5/6