Give a fast way to multiply a number by 7

Answer Posted / pathfinder

it shall be
n*7 = (n << 3) - n as already have been suggested by some ppl.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a list in c?

612


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2787


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1617


Why c is called free form language?

566


Can you think of a logic behind the game minesweeper.

2004






i want to know the procedure of qualcomm for getting a job through offcampus

1928


Is linux written in c?

594


How to declare pointer variables?

680


What is the difference between far and near ?

676


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1768


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1464


What is wild pointer in c with example?

568


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

660


What 'lex' does?

711


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1056