Cody

Problem 43487. Create Truth Table of Size according to input

Created by Jamil Kasan in Community

Create a Truth Table

Example:

n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

Solution Stats

40.98% Correct | 59.02% Incorrect
Last solution submitted on Jun 06, 2019

Solution Comments