the rainbow machine (;

• twitter• Facebook• Plurk• Formspring •

I've always been antisocial, so there's some TRUTH to that. But I'd argue with the world that in each moment of my life I give my everything to do the nicest thing possible for everyone . <3



Mar. 03, 10

08:25 PM

twooo ;PP

#include

<iostream>

using

namespace

std;

int

main()

{

int

year, weight;

cout «

“Car’s Model Year: ”

;

cin »year;

cout «

“Car’s Weight in lbs: ”

;

cin » weight;

cout «

“\n\n—————————-\n\n”

;

if

(year <= 1970 && weight < 2700)

cout «

“Weight Class : 1” « “\nRegistration Fee : $ 16.50\n”

;

if

(year <= 1970 && weight >= 2700 && weight <= 3800)

cout «

“Weight Class : 2” « “\nRegistration Fee : $ 25.50\n”

;

if

(year <= 1970 && weight > 3800)

cout «

“Weight Class : 3” « “\nRegistration Fee : $ 46.50\n”

;

if

(year >= 1971 && year <= 1979 && weight < 2700)

cout «

“Weight Class : 4” « “\nRegistration Fee : $ 27.00\n”

;

if

(year >= 1971 && year <= 1979 && weight >= 270 && weight <= 3800)

cout «

“Weight Class : 5” « “\nRegistration Fee : $ 30.50\n”

;

if

(year >= 1971 && year <= 1979 && weight>3800)

cout «

“Weight Class : 6” « “\nRegistration Fee : $ 52.50\n”

;

if

(year >= 1980 && weight <3500

)

cout «

“Weight Class : 7” « “\nRegistration Fee : $ 19.50\n”

;

if

(year >= 1980 && year>1980 && weight>3500)

cout «

“Weight Class : 8” « “\nRegistration Fee : $ 52.50\n”

;

return

0;

}

LIKE ♥ REBLOG