Generate no.between 32 to 99

Consider the following number
45*45=2025 and
20+25=45.
Write a program to generate no.between 32 to 99 that satisfy the above problem.

Questions by mounik

Showing Answers 1 - 5 of 5 Answers

mahamadalig

  • Apr 17th, 2012
 

Code
  1. #include<stdio.h>

  2. #include<conio.h>

  3. "               ------ANSWER IS:---------

  4. ""                         %d

  5. "

  Was this answer useful?  Yes

Sambuddha Chaudhuri

  • Jul 16th, 2015
 

Code
  1. span style="font-style: italic;">//Scanner sc = new Scanner(System.in);

  2.         //System.out.println("Enter the number between 32 and 99");

  3.         //int i = sc.nextInt();

  4.         //if(i >=32 && i <= 99)

  5. "the Sum of these Type of numbers is"+count);

  6.            }

  7. }

  Was this answer useful?  Yes

Sunil Shenoy

  • May 16th, 2016
 

Solved using mod operator.

Code
  1. #include<iostream>

  2. "valid numbers between 32-99 based on given algorithm is: ""selected Number is:""Square of given value "<<y<<"=""Quetiont: "<<a<<"

  3. "<<"Reminder: ""+"<<b<<"="

  Was this answer useful?  Yes

anonymous

  • Apr 5th, 2017
 

Basically the same, but in node :)

Code
  1. span style="color: #3366CC;">"Desired values: " + desired);

  Was this answer useful?  Yes

gyanendra verma

  • Aug 20th, 2017
 

Code
  1. #include<stdio.h>

  2. "enter starting number: ");

  3. scanf("%d",&n1); //n1=32"enter ending number: ");

  4. scanf("%d",&n2);  //n2=99"%d ""sorry there is no any number");

  5. getch();

  6. }

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions