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

How to print a number with two zeros after a point?

Input: a=2.5, b=4, output: c=a*b, c= 10.00

c++cpp
30th Mar 2020, 5:45 PM
PUFFIN Channel
PUFFIN Channel - avatar
2 Answers
+ 1
PUFFIN Channel , you can format the result when you print. https://code.sololearn.com/cDhvnyK0IGa7/?ref=app
30th Mar 2020, 5:57 PM
TheWhĀ”teCat šŸ‡§šŸ‡¬
TheWhĀ”teCat šŸ‡§šŸ‡¬ - avatar

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
Functions in python
2 Votes
How to make a playground
1 Votes
Html 5 document question
1 Votes
š™µš™øš™½š™³ ššƒš™·š™“ š™øš™½š™æšš„ššƒ š™¾š™µ ššƒš™·š™“ š™æššš™¾š™¶ššš™°š™¼
1 Votes
Python
0 Votes
Can someone explain inline and block elements please
0 Votes
Actual Artificial Intelligence
0 Votes
Need friends
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Schuffle a list
0 Votes