This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// // | |
// This program will display receipt using read-only TextArea // | |
// // | |
////////////////////////////////////////////////////////////////////// | |
package mainprogram; | |
import javax.swing.JFrame; | |
import javax.swing.JButton; | |
import javax.swing.JLabel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////// | |
// // | |
// This program will display a simple GUI, asking for input. // | |
// // | |
////////////////////////////////////////////////////////////////////// | |
package mainprogram; | |
import javax.swing.JFrame; | |
import javax.swing.JButton; | |
import javax.swing.JLabel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/perl | |
# ========================================================== | |
# Write a shell script, which will ask you for input 'yes' | |
# or 'no' and based on that will give you what is your | |
# input; | |
# | |
# a) If you enter yes as your input, it will echo you have | |
# entered yes. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ruby | |
# ========================================================== | |
# Write a shell script, which will ask you for input 'yes' | |
# or 'no' and based on that will give you what is your | |
# input; | |
# | |
# a) If you enter yes as your input, it will echo you have | |
# entered yes. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ========================================================== | |
# Write a shell script, which will ask you for input 'yes' | |
# or 'no' and based on that will give you what is your | |
# input; | |
# | |
# a) If you enter yes as your input, it will echo you have | |
# entered yes. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/perl | |
# ========================================================== | |
# Write a shell script base on below requirements: | |
# | |
# a) Script prompt user to enter a password | |
# | |
# b) Script then checks the password entered with the given | |
# password. (Assume that the system password is "secret") | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ruby | |
# ========================================================== | |
# Write a shell script base on below requirements: | |
# | |
# a) Script prompt user to enter a password | |
# | |
# b) Script then checks the password entered with the given | |
# password. (Assume that the system password is "secret") | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ========================================================== | |
# Write a shell script base on below requirements: | |
# | |
# a) Script prompt user to enter a password | |
# | |
# b) Script then checks the password entered with the given | |
# password. (Assume that the system password is "secret") | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/perl | |
# ========================================================== | |
# This script requires user to input the name and last | |
# semester GPA. The output of the script will display your | |
# current CGPA (Assume that your current CGPA for 2 semester | |
# is 3.5). | |
# | |
# Sample output will be: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ruby | |
# ========================================================== | |
# This script requires user to input the name and last | |
# semester GPA. The output of the script will display your | |
# current CGPA (Assume that your current CGPA for 2 semester | |
# is 3.5). | |
# | |
# Sample output will be: | |
# |