// initializing int variable int num_int = 26; // declaring double variable double num_double; // converting from int to double num_double = double(num_int);