ICT
Translate
Thursday, 5 October 2017
c++ paten code
#include <iostream>
using namespace std;
int main()
{
for(int i = 1; i <=7; ++i)
{
for(int j = 1; j <= i; ++j)
{
cout << "# ";
}
For(int x=1 x<=7; x++)
{For (int y=7 y>=1 ;y--){
Cout<<"#";}
cout << endl;}
return 0;
}
output
Newer Posts
Home
Subscribe to:
Comments (Atom)
Featured post
check box
<!DOCTYPE html> <html> <head> <title>Check Box</title> </head> <body> <input ty...
We count 35 heads and 94 legs among the chickens and rabbits in a farm. How many rabbits and how many chickens do we have?
public class ChickenAndRabbits { public static void main(String arga[]) { int a=35; int b=94; int c=a*2; int d=(b-c)/2; System.out.println(...
List Style css
<!DOCTYPE html> <html> <head> <title>List Style</title> <style> .ul1 { list-...