All questions
- C Program to Check Armstrong Number Answer: An Armstrong number with n digits equals the sum of each digit raised to the power n (for example 153 = 1³ + 5³ + 3³ and 1634 = 1⁴ +... 2
- C programto check whether a word is palindrome or not.. #include<stdio.h> #include<conio.h> #include<string.h> int main() char str[20]; int i, len, temp=0; int flag = 0; printf("Enter a string:");... 1
- C Program to Swap Two Numbers #include <stdio.h> #include <conio.h> int main() int firstNumber, secondNumber, temp; printf("Enter two numbers n"); scanf("%d %d", &firstNu... 1
- C Program to Reverse Digits of a Number #include <stdio.h> #include <conio.h> int main() int number, reverse = 0, rightDigit; printf("Enter a number n"); scanf("%d", &number); whil... 1
- C Program to Check Odd or Even Numbers Answer: A number is even if it leaves remainder 0 when divided by 2 (number % 2 == 0); otherwise it is odd. Logic Read an integer. If number... 2
- C Program to Find Square Root of a Number using sqrt Function #include <stdio.h> #include <math.h> int main () double x, result; printf("Enter a numbern"); scanf("%lf", &x); result = sqrt(x); printf("Sq... 1
- C Program to Print Digits of a Number in English Words Answer: Find the place value of the first digit ( 10^(d-1) for a d -digit number), then take digits from the left with / and %, printing the... 2
- C Program to Print Fibonacci Series #include <stdio.h> #include <conio.h> int main(){ int terms, lastNumber=1,secondLast=0,currentNumber=0,counter; printf("Enter number of term... 1
- C Program to Print Current Date and Time #include <time.h> #include <stdio.h> #include <conio.h> int main(void) { time_t current_time; char* c_time_string; current_time = time(NULL)... 1
- C Program to Check Year is Leap Year or Not #include <stdio.h> #include <conio.h> int main() int year; printf("Enter a year for leap year checkn"); scanf("%d", &year); if(year%4 != 0)... 1
- C Program to Find the Sum of First N Natural Numbers Answer: Read N and add 1, 2, 3, ..., N in a loop (the result equals (N(N+1))/2 ). #include <stdio.h> int main(void) int n, i; long sum = 0;... 1
- C Program to Add Two Numbers Using Pointers #include <stdio.h> #include <conio.h> int main() int firstNumber, secondNumber, sum; /* Pointers declaration */ int *firstNumberPointer, *se... 1
- C Program for Input/Output of Integer, Character and Floating point numbers #include <stdio.h> #include <conio.h> int main() int inputInteger; char inputCharacter; float inputFloat; printf("Enter an Integer, Characte... 1
- C Program to Check Whether an Alphabet is Vowel or Consonant #include <stdio.h> #include <conio.h> int main() char c; printf("Enter a Character: "); scanf("%c", &c); if(c == 'a' || c == 'e' || c =='i'... 1
- C Program for Addition, Subtraction, Multiplication, Division and Modulus of Two Numbers #include <stdio.h> #include <conio.h> int main() int firstNumber, secondNumber; int sum, difference, product, modulo; float quotient; printf... 1
- C Program to Add Two Numbers #include <stdio.h> #include <conio.h> int main(){ int firstNumber, secondNumber, sum; printf("Enter First Number: "); scanf("%d", &firstNumb... 1
- C Program to Calculate Compound Interest Answer: Amount A = P(1 + R/100)^T and compound interest CI = A - P. Correction: time is a float, so it must be printed with %f (here %.0f),... 2
- C program to print Hello World /* * C Program to Print "Hello World" */ #include <stdio.h> int main(){ printf("Hello World"); return 0; } 1
- What is the basic function of the process of environment scanning? Spotting and generating ideas is the most important function in the process of environment scanning. 1
- How do hobbies help in generating business idea? If any individual is master/talented in any skills (hobbies) and are ready to teach others with passion then he can easily convert his/her h... 1
- What do you mean by market driven idea or demand driven ideas? If the idea is generated through the market research. Such studies gives an entrepreneur information about trends of demand, supply consumer... 1
- “Creativity is a continuous activity for the entrepreneur”. Explain. As creativity is a continuous activity for the entrepreneurs they keep on disturbing markets and keeps on challenging large established busi... 1
- What do you understand by created opportunities? Opportunity lies in our surroundings. Successful entrepreneurs are always looking for opportunities to help others by providing creative sol... 1
- What do you understand by market research? Market research is a process of working on various trends in market, it gives an organized effort to gathering information about target mark... 1