Below is the solution:
code: ViewController class
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional
setup after loading the view.
}
//button action
@IBAction func btnInroduction(_ sender: Any)
{
print("Hello! My name is
Nehal Khurshid.") //print will print the name and family name to
the debug area
}
}
sample output:
Write a Xcode app which when the button Introduction is clicked with a mouse prints the text "Hello! My name is"in the debugging area. Instead of "..." write your first name, spac...
Hello, this is my code. moest of the things works but when select the price, i just dont get my total. can someone help me out . thank you My queshion is also here The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit. Here are the requirements: The home page (i.e. the main page) should simply be the heading, image, and slogan of the site. The home page should NOT...