import SwiftUI

struct ContentView: View {
// State property to hold the first number entered by the user
@State private var number1 = “”

// Constant array of operations
let operations = [“+”, “-“, “*”, “/”]

// State property to hold the selected operation
@State private var operation = 0

// State property to hold the second number entered by the user
@State private var number2 = “”

// State property to hold the calculated result
@State private var result = “”

var body: some View {
VStack {
// Text field for entering the first number
TextField(“Enter number 1”, text: $number1)
.textFieldStyle(RoundedBorderTextFieldStyle())
.padding()

// Picker for selecting the operation
Picker(“Operation”, selection: $operation) {
ForEach(0..