SWT301_-_SP_2024_-_PE1_1578.webp
F

SWT301_-_SP_2024_-_PE1_1578.webp

  • Media owner Fu841
  • Ngày thêm
1
8.Console.WriteLine("The equation has one solution: x= {0}", (-c/b));
Zoom
9.}
10.}
11.
12.float deltabb4ac;
13.float x1;
14.float x2;
15.
16.if (delta > 0) {
17.x1 (float) ((-b + Math. Sqrt(delta)) / (2 * a));
18.x2 (float)((-b Math. Sqrt(delta)) / (2 * a));
19.Console.WriteLine("The equation has two solutions: x1 (0) va x2 {1}", x1, x2);
20.}
21.else if (delta == 0) {
22.x1 (-b/(2a));
23.Console.WriteLine("The equation has dual solutions: x1 x2 {0}", x1);
24.}
25.else {
26.Console.WriteLine("The equation has no solution!");
27.}
28. }
Question 3 (4 points): You are assigned to do the functional (black-box) test for function Courtesy Hold. Writing test cases for this function with the content described below. (Use question 3 template)

+ 107%
Close
Chưa có bình luận nào.

Thông tin

Category
SWT301
Thêm bởi
Fu841
Ngày thêm
Lượt xem
2,680
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SWT301_-_SP_2024_-_PE1_1578.webp
File size
163.2 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom