Computer Science, asked by daleisipranjali, 3 months ago

What will be the final result and data type of the result in the following program

c=5

i=2

fl=4

d=5.0

fd=36.0

a=(c+i)/d

print(a)

b= fd/d*c/2

print(b)​

Answers

Answered by Anonymous
1

 {\boxed{\underline{\purple{\bf\tt{Code:} } }}}

c=5

i=2

fl=4

d=5.0

fd=36.0

a=(c+i)/d

print(a)

b= fd/d*c/2

print(b)

 {\boxed{\underline{\green{\bf\tt{Evaluation:} } }}}

a= (c+i)/d

=(5+2)/5

=7/5

=1.4

AND

b=fd/d*c/2

= 36.0/5.0*5/2

= 7.2*2.5

= 18.0

The data type is float

 {\boxed{\underline{\purple{\bf\tt{Output :} } }}}

1.4

18.0

Answered by parijaini
1

Eight months after the arrival of Covid-19 and a nationwide shutdown, political life in Switzerland seems almost back to business. Plexiglass-protected parliamentarians met for the autumn session, demonstrations are again allowed (under conditions), and most votes and local elections are going ahead as planned.

But the reality is different for campaigners behind people’s initiatives and referendums, the two key instruments of the Swiss direct democracy system. While on paper they can go out onto the street and gather support, the pandemic is slowing them down.

“It’s definitely more difficult to collect signatures,” said one campaigner from the Communist Swiss Labour Party, canvassing in Bern last weekend for a local initiative demanding free public transport. Not only are there fewer people on the street, but social distancing rules and the added barrier of a mask means they are less keen to be approached, he said

Similar questions