chap 2 notes 27 - variable. a = 2; b = 2 + 2; x = a + b; y...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
27 ESSENTIAL C++ STATEMENTS Assignment statement Syntax: variable = expression ; Assigns the results of the expression to the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: variable. a = 2; b = 2 + 2; x = a + b; y = 3 / 4; n = x + 1; c = sqrt(a*a + pow(b,2)); n1 = n2 = 0;...
View Full Document

Ask a homework question - tutors are online