Knowee
Questions
Features
Study Tools

Problem Statement:Given 2 numbers, print the first number as a 5-digit number and print the second number in the next line with 5 width spaceExplanation: If numbers are 25 and 98,print the first number as 00025 and second number as 3 space and 98(   98).Input Format:Accept the two integer as a inputOutput Format:5 digit number format followed by number with 5 width space in new line.Constraints:10^-15 <= num1,num2 <= 10^15Sample Input 1:34 7896Sample Output 1:000347896Sample Input 2:-125 -36Sample Output 2:-0125-36

Question

Problem Statement:Given 2 numbers, print the first number as a 5-digit number and print the second number in the next line with 5 width spaceExplanation: If numbers are 25 and 98,print the first number as 00025 and second number as 3 space and 98(   98).Input Format:Accept the two integer as a inputOutput Format:5 digit number format followed by number with 5 width space in new line.Constraints:10^-15 <= num1,num2 <= 10^15Sample Input 1:34 7896Sample Output 1:000347896Sample Input 2:-125 -36Sample Output 2:-0125-36

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

Sorry, I didn't understand your request. Could you please provide the question you want me to answer?

Similar Questions

Problem Statement:Accept two integers and print quotient  with 16 decimal places and print the remainder in next line.Input Format:Accept two integers as inputOutput Format:Print Quotient and Remainder as follows:The quotient when NUM1 is divided by NUM2 is QUOTIENT_VALThe remainder when NUM1 is divided by NUM2 is REM_VALConstraints:1<=N1,N2<=10^15Sample Input 1:54 65Sample Output 1:The quotient when 54 is divided by 65 is 0.8307692307692308The remainder when 54 is divided by 65 is 54Sample Input 2:23 78Sample Output 2:The quotient when 23 is divided by 78 is 0.2948717948717949The remainder when 23 is divided by 78 is 23

Given 2 numbers, find the minimum of these 2 numbersInput Format:Accept two integer values as inputs.Output Format:Print the output as "Minimum of INPUT1 and INPUT2 is  ____".Constraints:-10^15 <= INPUT <= 10^15Sample Input 1:10 20Sample Output 1:Minimum of 10 and 20 is 10Sample Input 2:10 200Sample Output 2:Minimum of 10 and 200 is 10

Multiply the given two numbers without using * operator.Input Format:Accept two integers as input.Output Format:Print the output as product of input1 and input2Constraints:1 <= INPUT <= 10^15Sample Input :10 2Sample Output :20

You are given 2 numbers N & P. Print N % P.Input FormatFirst line of input contains T - number of test cases. Its followed by T lines, each line contains 2 numbers N and P, separated by space.Constraints20 points1 <= T <= 1001 <= N <= 10181 <= P <= 10880 points1 <= T <= 1001 <= N <= 10100001 <= P <= 1015Output FormatFor each test case, print the value of N % P, separated by new line.Sample Input 045 24 101085377843 817659438290826691135830692772803 95972011Sample Output 0142242058460316167

Get two integers from user and print the absolute difference between two integersInput Format:Accept two integers as inputOutput Format:Print the absolute differenceConstraints:1<=N1,N2<=10^9Sample Input 1:10 20Sample Output 1:10Sample Input 2:78 25Sample Output 2:53

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.