Just came across this question, felt worth sharing, so here
I want you to make a C/C++ program that for any positive
integer n will print all the positive integers from 1 up to
it and then back again!
Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1.
Too easy you say?
Okay then... You can ONLY USE:
1 for loop
1 printf/cout statement
2 integers( i and n)
and as many operations you want.
NO if statements, NO ternary operators, NO tables, NO
pointers, NO functions!
i have to apply for rbi before that i need to know the the
syllabus for the entrance questions. whethet it may be aps
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
please help me..... please codes and flowchart plz turbo c
lang po yan.....please asap response...
3. Make an astrology program. The user types in his or
her birthday (month, day, and year as integer), and the
program responds with the user’s zodiac sign, horoscope, and
other information related to it. If the user’s birth year
falls into a leap year, your program should display an
appropriate message for it.
Conditional Statements: it should be with graphics
stripos — Find position of first occurrence of a case-
int stripos ( char* haystack, char* needle, int offset )
Returns the numeric position of the first occurrence of
needle in the haystack string. Note that the needle may be
a string of one or more characters. If needle is not found,
stripos() will return -1.
The function should not make use of any C library function
unsigned char a = 0;
} can anyone please explain me output????
how to execute a program using if else condition and the
output should enter number and the number is odd only...
Write a function expand(s1,s2) that expands shorthand
notations like a-z in the string s1 into the equivalent
complete list abc...xyz in s2 . Allow for letters of either
case and digits, and be prepared to handle cases like a-b-c
and a-z0-9 and -a-z.
what are the 10 different models of writing an addition
program in C language?