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 1988
Q:

The Supreme Court ruled that the ‘None of The Above’ (NOTA) option will not be applicable for voting in which elections?

A) Prime Minister B) Lok Sabha
C) Rajya Sabha D) MLA
 
Answer & Explanation Answer: C) Rajya Sabha

Explanation:

The ruling of ‘None of The Above’ (NOTA) option will not be applicable for voting in Rajya Sabha elections was made by a bench of Justices comprising CJI Dipak Misra and Justices AM Khanwilkar and DY Chandrachud of the Supreme Court.

Report Error

View Answer Report Error Discuss

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

3 1988
Q:

Rearrange the parts of the sentence in correct order.
In Tamil nadu,
P-cows and bulls are worshipped and celebrated
Q-on Maattu Pongal,
R-and the finale is Jallikattu

A) QRP B) QPR
C) PRQ D) RPQ
 
Answer & Explanation Answer: B) QPR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 1988
Q:

What are the building blocks of Nucleic Acids?

A) Pentose Sugar B) DNA
C) RNA D) Nucleotides
 
Answer & Explanation Answer: D) Nucleotides

Explanation:

The building blocks of the nucleic acids are "Nucleotides".

 

Each nucleotide are composed of three parts. They are ::

1.Pentose sugar

2.Nitrogenous bases

3.Phosphoric acid.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

3 1988
Q:

The federal government debt is equal to the

A) sum of past budget deficits minus the sum of past budget surpluses B) annual difference between federal government tax revenues and outlays
C) obligations of benefits from federal taxes and expenditures D) sum of all annual federal government outlays
 
Answer & Explanation Answer: A) sum of past budget deficits minus the sum of past budget surpluses

Explanation:

The federal government debt is equal to the sum of past budget deficits minus the sum of past budget surpluses.

Report Error

View Answer Report Error Discuss

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

1 1987
Q:

Improve the bracketed part of the sentence.
Neha (would be looked) beautiful in Indian attire.

A) had looking B) was looked
C) would look D) No improvement
 
Answer & Explanation Answer: C) would look

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1987
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.

 

An achievement or something desired fail to be attained by someone

 

A) to elude B) to eschew
C) to shirk D) to devoid
 
Answer & Explanation Answer: A) to elude

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1987
Q:

Which of the following is called the 'Gateway of the Pacific'?

A) Gulf of Alaska B) Panama Canal
C) Suez Canal D) Bering Sea
 
Answer & Explanation Answer: B) Panama Canal

Explanation:

Panama Canal is called the 'Gateway of the Pacific'.

Report Error

View Answer Report Error Discuss

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

1 1986