Want this question answered?
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
sdfdg
a triangle then a square :)
you need strings to print any character(your name) this is not possible useing array:D
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
For N = 1 to 10 Print 2 * N Next N
Use the option File / Print in the program you are using.
RANDOMIZE TIMER rndNumber% = INT(RND * 100) + 1 winFlag% = 0 CLS PRINT "PROGRAM: Guess the number" PRINT PRINT "I'm thinking of a number between: 1-100. You've 7 guesses..." PRINT PRINT "Guess No" FOR eachGuessNo% = 1 TO 7 PRINT eachGuessNo%; "> "; INPUT "What is my number"; guessNum% IF guessNum% = rndNumber% THEN PRINT "Yes, correct guess; you WIN!" winFlag% = 1 EXIT FOR END IF NEXT IF winFlag% = 0 THEN PRINT "No, you guessed WRONG! I the computer WIN!" PRINT "My number was: "; rndNumber% PRINT PRINT "Again, Y/N"; yesNo$ DO yesNo$ = INKEY$ LOOP UNTIL yesNo$ <> "" IF UCASE$(LEFT$(yesNo$, 1)) = "Y" THEN RUN END
sdfdg
a triangle then a square :)
This program checks whether a number is odd or even. NOTE: This site removes formatting from answers. Replace (tab) with a tab or four spaces. #!/usr/bin/python print("Type a number.") n = input(": ") l = len(n)-1 even = ("02468") if n[l] in even: (tab)print(n, "is even.") if n[l] not in even: (tab)print(n, "is odd.")
you need strings to print any character(your name) this is not possible useing array:D
"While it is possible to use this program to print a book, it is highly recommended to print it with an actual publisher. You will get a much better deal and your book will look a lot more professional."
//program to find the factorial value f any number using while loop #include<stdio.h> void main() { int i,n,fact=1; printf("Enter the number\n"); scanf("%d",&n); i=n; while (i>=1) { fact=fact*i; i--; } printf("The factorial value=%d",fact); } the above is a program for calculating tha factorial value of any number which is entered by the user
Visual Basic code is a program or library that has been written using the Microsoft Visual Basic programming language.