Questions

Q:

Write a c program to check whether a number is strong or not.

Answer

#include<stdio.h>
int main(){
  int num,i,f,r,sum=0,temp;

  printf("Enter a number: ");
  scanf("%d",&num);
 
  temp=num;
  while(num){
      i=1,f=1;
      r=num%10;

      while(i<=r){
         f=f*i;
        i++;
      }
      sum=sum+f;
      num=num/10;
  }
  if(sum==temp)
      printf("%d is a strong number",temp);
  else
      printf("%d is not a strong number",temp);

  return 0;
}

Sample output:
Enter a number: 145
145 is a strong number

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2031
Q:

What has to be broken before you can use or eat it?

Answer

Egg.


Egg is to be broken if we want to use or eat it.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

2 2031
Q:

What country has the largest Muslim population?

Answer

Indonesia

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 2030
Q:

A hard copy of a document is

A) stored in a pen drive B) read in floppy disc
C) printed on printer D) stored in hard disc
 
Answer & Explanation Answer: C) printed on printer

Explanation:

A hard copy of a document is a physical object which is printed on printer.

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2030
Q:

After which five year plan, 'The Rolling Plan' was implemented?

A) Third Plan B) Fifth Plan
C) Seventh Plan D) Ninth Plan
 
Answer & Explanation Answer: B) Fifth Plan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 2030
Q:

A sentence has been given in Direct/Indirect Speech. Out of the four given alternatives, select the one which best expresses the same sentence in Indirect/Direct Speech.

Rohan said , "I am going"

A) Rohan had said he is gone. B) Rohan is going.
C) Rohan said that he is gone.   D) Rohan said that he was going.
 
Answer & Explanation Answer: D) Rohan said that he was going.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2030
Q:

In the following question, four words are given out of which one word is correctly spelt. Select the correctly spelt word.

A) Anoyance B) Annoyanse
C) Anoyanse D) Annoyance
 
Answer & Explanation Answer: D) Annoyance

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2030
Q:

Name the Cyclonic storm which likely to hit coastal AndhraPradesh by April 30?

A) Sunny B) Pani
C) Fani D) Tuni
 
Answer & Explanation Answer: C) Fani

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2030