The following code segment is syntactically correct, but difficult to read. Rewrite the segment using indentation that improves its readability.

```
if (road_stat == 's')
if (temp > 0)
printf("Roads wet.\n");
else
printf("Roads icy.\n");
else
printf("Roads dry.\n");
```

```
if (road_stat == 's')
if (temp > 0)
printf("Roads wet.\n");
else
printf("Roads icy.\n");
else
printf("Roads dry.\n");
]
```

Computer Science & Information Technology

You might also like to view...

When a video is inserted onto a slide, it is said to be trimmed on a slide

Indicate whether the statement is true or false

Computer Science & Information Technology

If a field is found in a query then it must be included in any report based on that query. If you do not want the field displayed, you can set its view property to hidden

Indicate whether the statement is true or false

Computer Science & Information Technology