Pular para o conteúdo principal

Postagens

ASPNET, MENU, HTML, MENU, PROGRAM, TABLE!!

City of Fresno Select State or Province: Outside of North America <% AddMenu "state" %> Select Country: <% Addmenu "country" %>

ASPNET, LOGIN, PASSWORD, INPUT, SUBMIT

FORM ACTION="login.asp" METHOD="post"> Login: Password:

JAVASCRIPT, BACKGROUND COLOR, COLOR, VALUE

List Changer ground color. Bg Effects blue aquamarine chocolate dark red gold red yellow hotpink lime dark khaki cadet blue dark goldenrod dark slate blue deep pink dark salmon salmon tan wheat tomato springgreen turquoise White

JAVASCRIPT, bottons model, onclick, reloadbutton, back, alert

Button Banner

C++, snack bar or Theater, programa!Programa calculo consumo bar!

/* Theater lobby snack bar program */ #include #include #include #define TRUE 1 //This is true #define FALSE !(TRUE) //This is not true void main() { char c; //their choice int done; //while loop ender float total=0; //start their total at zero; printf("Please make your treat selections:\n"); printf("B - Beverage.\n"); printf("C - Candy.\n"); printf("H - Hot dog.\n"); printf("P - Popcorn.\n"); printf("= - Done.\n"); printf("Your choice:\n"); /* Now you must figure out what they typed in. */ done=FALSE; while(!done) { c=toupper(getch()); //get input switch(c) //find the key they pressed { case 'B': //Beverage printf("B - Beverage\tThat will be $2\n"); total+=2; break; case 'C': //Candy printf("C - Candy\tThat will be $1.50\n"); total+=1.5; break;

C++, short, long, cont, incremento ++

#include void main() { short s; long l; for(s=0;s<32000 font="" s=""> printf("%i\t",s); printf("\nPress Enter\n"); getchar(); for(l=0;l<100000 font="" l=""> printf("%li\t",l); system("pause"); }

C++, ASCII, HEX VALUES, HEXADECIMAL, VOID!!

/* DECHEX, display ASCII, decimal and hex values */ #include void main() { int x; printf("A  DEC\tHEX\tA  DEC\tHEX\t"); printf("A  DEC\tHEX\n"); for(x=32;x<64 font="" x=""> { printf("%c  %3i\t%2X\t",x,x,x); printf("%c  %3i\t%2X\t",x+32,x+32,x+32); printf("%c  %3i\t%2X\n",x+64,x+64,x+64); } system("pause"); }