Monday, November 5, 2012
Monday, October 22, 2012
Programming Assignment #1
1. ) Write a program that print the output like this using asterisk.
Sample Output:
use asterisk to write this
2.) write a program the ask the user to input there information and the output is like this.
Enter your name: _____________
Enter your Address: ____________
Enter your Age: ___________
Enter your birthdate: __________
Enter your birthplace: ___________
Enter your Position:
Hobbies:
1. _________
2. _________
3. _________
sample output is:
Name: Jaypee Cezar
Address: Makaty City
Age: 25
Birthdate : July 28, 1987
birthplace: Salvacion Ocampo, Camarines Sur
Position: IT Manager
Hobbies:
1. watching movies
2. playing badminton
3. sleeping hehehe...
3.) Create a program that compute your net income or take home pay.
Enter your name: _______________
Enter your Position: ____________
Rate Per Day : _________
No. of Days: __________
Gross Income: _________
Deduction:
this is computation not inputing the numbers. it automatically show the result or computation
SSS : _____________ computation: get 2% from the salary to get SSS
PAG-IBIG: _____________ computation: get 2% from the salary to get PAG-IBIG
Philhealth: ______________ computation: get 4% from the salary to get Philhealth
TAX: ________________ computation : get 10% from the salary to get tax
Sample output:
Name: Jaypee Cezar
Position: IT Manager
Rate Per Day : 2727
No. of Days : 22
Gross Income: 60000
Deduction :
SSS: ____
PAGIBIG:___
PHILHEALTH: ____
TAX: _____
Total Deduction: ____
NET INCOME: ______
in the deduction please compute in the programs.
Sample Output:
use asterisk to write this
I LOVE YOU
2.) write a program the ask the user to input there information and the output is like this.
Enter your name: _____________
Enter your Address: ____________
Enter your Age: ___________
Enter your birthdate: __________
Enter your birthplace: ___________
Enter your Position:
Hobbies:
1. _________
2. _________
3. _________
sample output is:
Name: Jaypee Cezar
Address: Makaty City
Age: 25
Birthdate : July 28, 1987
birthplace: Salvacion Ocampo, Camarines Sur
Position: IT Manager
Hobbies:
1. watching movies
2. playing badminton
3. sleeping hehehe...
3.) Create a program that compute your net income or take home pay.
Enter your name: _______________
Enter your Position: ____________
Rate Per Day : _________
No. of Days: __________
Gross Income: _________
Deduction:
this is computation not inputing the numbers. it automatically show the result or computation
SSS : _____________ computation: get 2% from the salary to get SSS
PAG-IBIG: _____________ computation: get 2% from the salary to get PAG-IBIG
Philhealth: ______________ computation: get 4% from the salary to get Philhealth
TAX: ________________ computation : get 10% from the salary to get tax
Sample output:
Name: Jaypee Cezar
Position: IT Manager
Rate Per Day : 2727
No. of Days : 22
Gross Income: 60000
Deduction :
SSS: ____
PAGIBIG:___
PHILHEALTH: ____
TAX: _____
Total Deduction: ____
NET INCOME: ______
in the deduction please compute in the programs.
Programming Lecture
Programming
Tutorial
Programming Languages:
1. VB.NET
2. C#
3.C
4. C++
5. Cobol
6. etc....
The Important things to study to
become .NET DEVELOPER are the following.
1. VB.NET
2. C#
3. SQL Server Database / MYSQL
Database
Two type of Application in Programming.
1. Web Application
2. Windows Application
Programming Topics
DATA TYPES
1. Integer
2. Double
3. Character
4. String
5. Float
etc. ........
Explanation:
1. Integer - accept whole numbers only
- example : 1, 2, 5, 9 , 10.5 = 10
2. Double -accept numbers with decimal places
- example : 1.2, 3.4444, 6.675656 etc...
3. Character - It enclose in single quotes
- example : 'A' ,'s', 'F' etc.
4. String - it enclose in double quotes.
example : "Jaypee Cezar",
"Maricel
Trasmano",
"Hello World",
"12345"
5. float - numbers with decimal places but there is a limit in
decimal .
example : 12.33, 1.23, 4.55
Programming
Operators
+
-
*
/
% - modulo
Conditional
Operators
>
greater than
>=
greater than or equal
<
less than
<=
less than or equal
=
= equal
!=
not equal
= - assignment operator
Variable
– is storage of value that can be change
Example a,
aa, b1, c1 etc.
Make
sure it start with letter or underscore
Labels:
.net developer,
c,
c++,
developer,
programming,
tutorial
Wednesday, October 17, 2012
Sunday, October 14, 2012
http://zimmergren.net/technical/sp-2010-how-to-event-receivers-and-custom-error-pages
http://zimmergren.net/technical/sp-2010-how-to-event-receivers-and-custom-error-pages
Wednesday, September 26, 2012
Sunday, September 23, 2012
Wednesday, August 15, 2012
Quotes
Notes:
People cry, not because they’re weak. It’s because they’ve
been strong for too long.
If
you don’t believe in miracles perhaps you’ve forgotten you are one
Always
remember you are braver than you believe stronger than you seen smarter than
you think and twice as beautiful as you’re ever imagined.
All a girl wants is for one guy to
prove to her that they are not all the same.
Apologizing does not always
mean you are wrong, it just means that your value your relationships
more than your ego.
I think I need a hug
Don’t take people
for granted. No matter how much
they love you, people get tired eventually.
The best gift you could ever
give someone is your time because you’re
giving them something
that you’ll never get back.
What doesn’t kill you, makes you
stronger.
If someone
wants to be a part of your life, they’ll make an
effort to be in it. So don’t bother reserving a
space in your heart for someone
who doesn’t make an effort to stay.
Tuesday, August 14, 2012
Webpart vs. Visual Webpart in SharePoint 2010
Using Visual Web Parts vs. Traditional Web Parts in SharePoint 2010
Learn about the advantages of using Visual Web Parts and traditional Web Parts in SharePoint
Read and Display SharePoint List Data in Gridview Control
I have developed a custom web part which reads data from SharePoint List and display in a GridView control by Visual Studio 2010.
In this scenario, I have a list name "Employee" with 4 collumns named
Title, Birthday, Male, Position.
Add the following code to the .ascx file
ID="grid" runat="server" AutoGenerateColumns="false">
Add the following code to the .ascx file
Add the following code to the .cs file:
protected void Page_Load(object sender, EventArgs e)
{
SPWeb web = SPContext.Current.Web;
SPList list = web.Lists["Employee"];
SPListItemCollection items = list.Items;
grid.DataSource = items.GetDataTable();
grid.DataBind();
}
Add the web part to the Sharepoint page, we have the following result
Hope this helps!
Monday, August 13, 2012
Code for Input Mask
Today I’ve got a requirement to force the user input to follow this international phone number format “(country-code) 1234-568” & because I love jQuery I started to look for an input mask plugin, I found this one.
So I built simple ASP.NET Web Application to start playing with it. It’s contains 3 TextBoxes/Input fields, first one for the landline phone number, second one for mobile phone number, & the third and last one for the date of birth.
Here’s the aspx code snippet:
jQuery Masked Input Demo
Input mask in ASP.net
Today I’ve got a requirement to force the user input to follow this international phone number format “(country-code) 1234-568” & because I love jQuery I started to look for an input mask plugin, I found this one.
So I built simple ASP.NET Web Application to start playing with it. It’s contains 3 TextBoxes/Input fields, first one for the landline phone number, second one for mobile phone number, & the third and last one for the date of birth.
Here’s the aspx code snippet:
jQuery Masked Input Demo
Tuesday, April 17, 2012
Tuesday, February 28, 2012
Subscribe to:
Posts (Atom)