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

What are the major flags in 8086?

Answer

In 8086 Carry flag, Parity flag, Ausiliary caarry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1954
Q:

Which tribe of Arunachal Pradesh is celebrating Boori Boot Yollo Festival?

A) Gond B) Bhil
C) Santhals D) Nyishi
 
Answer & Explanation Answer: D) Nyishi

Explanation:
Report Error

View Answer Report Error Discuss

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

11 1954
Q:

Which country is partner country at International Gita Festival 2018 along with India?

A) Spain B) Malaysia
C) Mauritius D) None of the above
 
Answer & Explanation Answer: C) Mauritius

Explanation:
Report Error

View Answer Report Error Discuss

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

2 1954
Q:

Which is an example of an expressed power congress holds?

A) declaring war B) maintaining an army
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:
Report Error

View Answer Report Error Discuss

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

1 1954
Q:

In what year was pluto devoted to a draft planet?

A) 2005 B) 2006
C) 2008 D) 2009
 
Answer & Explanation Answer: B) 2006

Explanation:

In 2006, pluto devoted to a draft planet.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 1953
Q:

What is a property of most metals?

A) Conductivity B) Malleability
C) Luster D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

We know that most of the metals are goof conductors of electricity and heat. Metals are very strong but they are malleable i.e, they can be bent into a shape. These are shiny when they are cut or polished. 

 

Hence, metals are malleable, conductors and luster. All the above are properties of the metals.

Report Error

View Answer Report Error Discuss

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

3 1953
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

To give money to agents for sales.

A)  Salary B)  Commission
C) Fee D) Incentive
 
Answer & Explanation Answer: B)  Commission

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 1953