Solution Lab 2 point 2
date point to many it seemed long, the truth there are many ways to fix and short ... ;) Tuesday, March 31, 2009
Pinky Free Phone Clip
This is one I propose, if they improve or do better porfa comment.
In general the algorithm checks if the day is right and ultimodiames stored in the variable 1 if the last day of the month and 0 if not.
Well I think that this solution is the maximum amount to copy two pages of a leaf type test ... or not?
# include using namespace std;
int main () {int
year, month, day, ultimodiames = 0;
<<"\nIngrese el dia";
court cin>> day;
<<"\nIngrese el mes";
court cin>> month;
<<"\nIngrese el ano";
court cin> > year;
if (year <=0 || mes> 12 <=0 || dia<=0 || dia>
court if (he == 31) <<"\nFecha ultimodiames = 1;
} else if ((mes == 4 ultimodiames = 1;}
else wrong court <<"\nEl año es bisiesto";
"<<"\nFecha correcta";
if (month == 12 & & day == 31) {year = year +1
;
month = 1;
day = 1; <=30){
<<"\nFecha correcta";
} else if (ultimodiames == 1) {month = month +1
;
day = 1;}
<=29 && ano%4==0){
<<"\nFecha correcta";
else day = day +1;
court return 0;}
<=28){
<<"\nFecha correcta";
Monday, March 30, 2009
Messages For Newborn Baby
These are also interesting ...
This is a set the simple exercise of it, who can now solve:
Write a program that reads a date in DD-MM-YYYY and calculate the number of days since January 1 of that year
<<"\nFecha Print the oldest, youngest, the sum and the arithmetic average of ten numbers from the keyboard accepted
Calculate the equivalent time in hours minutes and seconds to a number of seconds to read. The result should be printed in a format like this:
7322 seconds equals: 2 hours, 2 minutes and 2 seconds.
Estimate the number and value with a given accuracy, such accuracy being an input This number is given by the following series:
e = 1 + 1 / 1! + 1 / 2! + 1 / 3! +1 / 4! + ... ..
Given a month of the year, the number of days and the day of the week begins, following a program that displays on screen representation of the calendar for that month
Source: http://foro.elhacker.net / ejercicios/ejercicios_c-t35110.0.html
<<"\nMañana es: "<< ano <<"/"<< mes <<"/"<< dia ;
This is a set the simple exercise of it, who can now solve:
Write a program that reads a date in DD-MM-YYYY and calculate the number of days since January 1 of that year
<<"\nFecha Print the oldest, youngest, the sum and the arithmetic average of ten numbers from the keyboard accepted
Calculate the equivalent time in hours minutes and seconds to a number of seconds to read. The result should be printed in a format like this:
7322 seconds equals: 2 hours, 2 minutes and 2 seconds.
Estimate the number and value with a given accuracy, such accuracy being an input This number is given by the following series:
e = 1 + 1 / 1! + 1 / 2! + 1 / 3! +1 / 4! + ... ..
Given a month of the year, the number of days and the day of the week begins, following a program that displays on screen representation of the calendar for that month
Source: http://foro.elhacker.net / ejercicios/ejercicios_c-t35110.0.html
<<"\nMañana es: "<< ano <<"/"<< mes <<"/"<< dia ;
Minerva-35 And Breast Growth
and switch ...
Staff Exercise # 6
program that asks the user a decimal integer between 1 and 99,
including the ends and get the corresponding representation in the Roman and
decimal system, with the objective able to explain by
visually program conversion system to their students.
program will display the decimal number and converting the Roman system.
Staff Exercise # 7
SWITCH Solva
The trading company sells brooms, dust and flavorings,
classifies its customers based on the frequency of shopping with the following conditions
:
If the client is in category 1 is 5% discount
If the client is Category 2 is 8% discount if the customer
Category 3 is discounted 12%
If the client is in category 4 is discounted 15%
When the client
Amount purchased for brooms, dust and flavorings
Develop a program in C + + to read this data and calculate and display on screen:
Customer Name
Subtotal Discount
pay Total pay
Source: http://www.redee.com/?tema=44688
Staff Exercise # 6
SWITCH In the arithmetic class of technical secondary school No. 35,
the teacher asked the department of systems that will develop a program that asks the user a decimal integer between 1 and 99,
including the ends and get the corresponding representation in the Roman and
decimal system, with the objective able to explain by
visually program conversion system to their students.
program will display the decimal number and converting the Roman system.
Staff Exercise # 7
SWITCH Solva
The trading company sells brooms, dust and flavorings,
classifies its customers based on the frequency of shopping with the following conditions
:
If the client is in category 1 is 5% discount
If the client is Category 2 is 8% discount if the customer
Category 3 is discounted 12%
If the client is in category 4 is discounted 15%
When the client
make a purchase will generate the following: Customer Name
Customer Type Amount purchased for brooms, dust and flavorings
Develop a program in C + + to read this data and calculate and display on screen:
Customer Name
Subtotal Discount
pay Total pay
Source: http://www.redee.com/?tema=44688
How Do You Delete Accounts On Sims 3
More exercises ...
Exercise # 4
Terms nested
The Human Resources department of the company wants to develop coffee Combat
an online calendar for their employees, to schedule
the number of working days so that the employee enter
a number of months (1 to 12), and display the number of days in that month.
must consider that the month of February 2 is that I have 29 or 28 days
depending on whether or not a leap year, that year.
develop a program in C + + that meets the above specifications and display on screen
month, the number of days and if it is leap year
display the message that it is a leap year.
Source: http://www.redee.com/?tema=44688
Exercise # 4
Terms nested
The Human Resources department of the company wants to develop coffee Combat
an online calendar for their employees, to schedule
the number of working days so that the employee enter
a number of months (1 to 12), and display the number of days in that month.
must consider that the month of February 2 is that I have 29 or 28 days
depending on whether or not a leap year, that year.
develop a program in C + + that meets the above specifications and display on screen
month, the number of days and if it is leap year
display the message that it is a leap year.
Source: http://www.redee.com/?tema=44688
Vba Pokemon Gold Cheat
Exercises study
Find exercises to consider:
Exercise # 1: Simple Conditions
capture. Develop a program in C + +, which determines the largest of the three ratings
, the program should display the higher rating.
Exercise # 2: Simple Conditions
A customer orders a certain amount of bristle brushes, rollers and seal
, bristle brushes are 20% off and rolls a 15% discount
. The data are for each type of article are the
quantity ordered and unit price. Also, if you pay in cash all
has a discount of 7%. Develop a program in C + + to calculate y muestre
en pantalla el costo total de la orden, tanto para el pago de contado como
para el caso de pago de crédito.
$30 no causan impuesto, los siguientes $30 tienen un 30% de impuesto y el
resto el 40% de impuesto, pero si el costo del producto es mayor a $400,
entonces se cobra el 50%. Desarrollar un programa en C++ que lea el costo
básico de un artículo y calcule el costo total. Muestre en pantalla el artículo
y su costo total.
Fuente:
http://www.redee.com/?tema=44688
Find exercises to consider:
Exercise # 1: Simple Conditions
-> The master class Mathematics wants to determine which is the highest rating
their group by forming groups of three scores and capture. Develop a program in C + +, which determines the largest of the three ratings
, the program should display the higher rating.
Exercise # 2: Simple Conditions
A customer orders a certain amount of bristle brushes, rollers and seal
, bristle brushes are 20% off and rolls a 15% discount
. The data are for each type of article are the
quantity ordered and unit price. Also, if you pay in cash all
has a discount of 7%. Develop a program in C + + to calculate y muestre
en pantalla el costo total de la orden, tanto para el pago de contado como
para el caso de pago de crédito.
Ejercicio # 3
Condiciones sencillas En la tienda de mayoreo San Juanita el impuesto que se debe pagar por los artículos adquiridos se calcula de la siguiente manera: los primeros $30 no causan impuesto, los siguientes $30 tienen un 30% de impuesto y el
resto el 40% de impuesto, pero si el costo del producto es mayor a $400,
entonces se cobra el 50%. Desarrollar un programa en C++ que lea el costo
básico de un artículo y calcule el costo total. Muestre en pantalla el artículo
y su costo total.
Fuente:
http://www.redee.com/?tema=44688
Saturday, March 28, 2009
Hot Womens Boobs In Saree
An example video ... look on youtube
Reviewing
youtube I found a video where they explain a very simple example of calculating a given average 3 notes.
hope to see others!
Reviewing
youtube I found a video where they explain a very simple example of calculating a given average 3 notes.
hope to see others!
Sunday, March 8, 2009
Subscribe to:
Posts (Atom)