Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual basic from excel For i = 5 To-5 Step-1 a sqr (1) + Cos (3 ) -19 * Next i Identify the execution error

Visual basic from excel

image text in transcribedimage text in transcribed

image text in transcribed

For i = 5 To-5 Step-1 a sqr (1) + Cos (3 ) -19 * Next i Identify the execution error below: 1) Subtracting 19 is not appropriate 2) You cannot take the square root of a negative number 3) The step should be positive 1 4) When i gets to O, it can't go to the next i. Dim a As Variant, b As Variant a- Inputbox("Please, enter some value for a.") If IsNumeric(a) True And a 0 Then 2) Dim a As Variant, b As Single 3) Dim a As Single, b As Variant 4) No Change is required. The code will run fine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions