"Good <Morning/Afternoon> Class!"
(Good <Morning/Afternoon> Sir Adrian)
Hi! Unfortunately, I cannot be in class today physically. Fortunately, my presence lives through this blog post. That's why the show must go on! And remember, I see you.... O.O
2nd Year Activity - Create a C program that will ask the user for two floats. The first float is the price of an item and the 2nd float is the discount.
What is a float? Unlike an integer, floats allow you to have decimal points.
How do I make a number a float? If %d is for decimal, %i is for integer, %f is for float.
This program should be able to compute and show the amount deducted from the original price and the exact discounted price. Decorate your program depending on your likes. Impress me with the use of the gotoxy, textbackground and textcolor. The best looking and functioning program wins 5,000 banana points.
Sample output:
How much is the item: 10
How much is the discount? 10%
The amount deducted is P1.
The discounted price is P9.
Filename: Discount.C Folder: August 16 program
---2nd year activity ends here---
3rd Year Pascal Activity - Create a JavaScript page that ask the user to input a float. This float is the price of an item.
After getting the price of the item, the JavaScript should be able to compute the amount increased due to the VAT and the final price of the item with the VAT.
You may decorate your page using CSS and/or HTML. Impress me with your web creation skills and apply them together with your JavaScript.
Example:
(Prompt) Please input the price of the item: 10
The 12% VAT of the item is P1.20
The final price of the item is P11.20
Note: It's important to use float because it allows decimal points.
Filename: VAT.html Folder: Javascript programs
btw, your quiz is moved next week, hurray!
---3rd year activity ends here---
4th year Archimedes ---
First of all, please submit your website documentation to the teacher-in-charge. If you already did that, good for you. Yesterday was supposed to be the deadline. If you can't pass it now, then you know the consequences.
Now on with the activity. Create a postcard of the school using GIMP (Image Manipulation program). Use the pictures you have taken last week. Please try to experiment on GIMP without asking your teacher. Avid users of photoshop will have a distinct advantage for this activity.
Save your postcard as: LBASpostcard.jpeg
Note: If you don't know what a postcard is(really now?), the internet is open.