IT 412 PROJECT
Sunday, March 13, 2011 - - 0 Comments
IT 412 Project.
1. Create a program that will enter a sentence and count the number of vowels, words, spaces and characters.
SAMPLE OUTPUT:
Enter a sentence: Hello World
No. of vowels: 3
No. of words: 2
No. of characters: 11
No. of spaces: 1
2. Create a program that will ask for a number and convert it to binary, octal, hexadecimal conversions.
SAMPLE OUTPUT:
Enter a number: 24
Binary: 11000
Octal: 30
Hexadecimal: 18
3. Create a program that will ask for a filename and count the no. of characters from A to Z (neglect upper and lower cases).
SAMPLE OUTPUT:
Enter a filename: D:\FINAL.TXT
A: 5
B: 2
C: 0
…
Y: 5
Z: 1
Subscribe to:
Posts (Atom)