void print_evens (size_t n) {for (size_t x=0; x<=n; x+=2) {
std::cout << x << std::endl;
}
}
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
// example of 1..12x12 table for($i = 1; $i <= 12; $i++) { for($j = 1; $j <= 12; $j++) { print ($i * $j) ." "; } print "\n"; }
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
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?
echo 'print a pattern'
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
// example of 1..12x12 table for($i = 1; $i <= 12; $i++) { for($j = 1; $j <= 12; $j++) { print ($i * $j) ." "; } print "\n"; }
write a program to print A to Z on screen in c?
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
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?
echo 'print a pattern'
Prime numbers are numbers that are only divisible by themselves and the number 1. You can write a program to print all prime numbers from 1 to 100 in FoxPro.
/* PROGRAMME TO PRINT THE TABLE OF A GIVEN NUMBER USING FUNCTION */#include#includevoid table(int,int);void main(void){int num,i;printf("\n Programme to print the mathematical table of a number.");printf("\n Enter the number : ");scanf("%d",&num);printf("\n Upto how many multiples of the given number do you want? ");scanf("%d",&i);table(num,i);getch();}void table(int num,int i){for(int j=1;j
#include#includevoid main(){ int a,i;printf("\nThe Multiplication table of 5 is:\n");for(i=1;i
Cls print the multiples tables of 1 to 5 for x=1 to 5 for y=1 to 10 print x;"*";y;"=";x*y next y print print next x end
write a program to print the series 1/12+1/22+.........+1/n2 ?
Option explicit Dim val,indx val=inputbox("enter any number") For indx= 1 to 10 print val&"*"&indx&"="&val&"*"indx Next