Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.
12 30047Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
1 16162main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason
CSC,
6 11772plssssss help !!....using array.. turbo c..
create a program that will accept number of words to be
consored.
.a word must not exceed 10 characters long
.the text to be entered will be no longer than 200 characters
.there will be no 10 words
example:
enter number of words to be censor: 5
enter words to censor:
windows
office
microsoft
bill
gates
enter text to censor:
bill gates founded microsoft and makes office and windows
sample output:
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
3 7491plz answer..... a program that reads non-negative integer and computes and prints its factorial
2 5917plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
3 8489plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
1 3847
When should I declare a function?
What are Macros? What are its advantages and disadvantages?
if p is a string contained in a string?
When do we get logical errors?
What is #include called?
Define Spanning-Tree Protocol (STP)
Which built-in library function can be used to match a patter from the string?
What is meant by type specifiers?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why we use break in c?
Why can arithmetic operations not be performed on void pointers?
State the difference between realloc and free.
How many bytes are occupied by near, far and huge pointers (dos)?
What is the newline escape sequence?