How to multiply a number by 7 without using * and + operator

NewNum = Num << 3; // multiplied by 2 ^ 3 = 8

	NewNum = NewNum - Num; // 8 – 1 = 7
Chitra
Chitra

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in