DEV Community

Akash
Akash

Posted on

Solving Scenario Questions-2

1.Storing variables and checking whether its filled


output:

2.Create variable to store product name,cost,stocks


OUTPUT:

3.Calculating Total


OUTPUT:

4.Swapping Two Numbers


OUTPUT:

5.Creating variable to store user logging


OUTPUT:

  1. Checking a numb even or odd by operator


OUTPUT:

7.Comparing two passwords


OUTPUT:

8.Eligible to vote,write condition


OUTPUT:

9.Using logical AND operator


OUTPUT:

Top comments (0)