Truth Table Count

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

How many rows in truth table for n boolean variables?

Input Format

One integer n.

Output Format

One integer.

Sample Test Case

Input:
3
Output:
8

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next