11 Answers
New Answer8/15/2019 12:26:56 PM
Tirth Anand11 Answers
New AnswerFor multiple items, iam sure u can't put it in a loop since then u can't retrieve information of each item to print in the invoice
I want the program to take as many items as the user wants and print them all under the invoice in the end
if you are simply workig in SoloLearn you can do as follows: input1 = input() input2 = input() etcetc you can now input multiple things. only need to put each on a new line in the input popupbox. you then only need to write a format for what goes where, but this isnt really efficient. i just read your last message, the method above works for random input that needs to go at the bottom of an invoice. and is really as simple as I wrote above. Because there isn’t any code to go off from, I am spitballing here. you can look into this post as well https://www.sololearn.com/discuss/1916919/?ref=app I am not good with OOP yet, but perhaps thinking that way might help you out lastly if you want a form to be filled out, why not do it in JavaScript?
But isn't the above program only applicable for limited items... coz I won't know how many the user will enter right
there’s bound to be a better way, but i don’t know it yet. mind you, im not that far on yet in programming
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message