• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

How to apply variable quantity in prompt?

Prompt using variable quantity with if else

varquantity
22nd Sep 2022, 2:29 PM
Shagufta Nasrin
2 Answers
+ 3
Have a search for an idea 😉 https://www.sololearn.com/discuss/1223924/?ref=app https://www.sololearn.com/discuss/1752594/?ref=app https://www.sololearn.com/discuss/1651121/?ref=app
22nd Sep 2022, 2:55 PM
Ausgrindtube
Ausgrindtube - avatar
0
A = prompt() B = parseInt(A)
22nd Sep 2022, 7:19 PM
Abhimanyu

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Give some simple practice questions in C
0 Votes
Help me
1 Votes
Programming
0 Votes
Code coach isn't awarding xp
0 Votes
how do they use javascript
0 Votes
Did sololearn helped you to get easier a job?
0 Votes