D: Variables and Math

Example: Variables and Math in D


	import std.stdio;
	void main()
	{
		int x, y, total; 
		x = 10; 
		y = 5; 
		total = x + y;
		
		writeln("Total: ", total); 
	}
	

Output:

  Total: 15