Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Convert Celsius to Fahrenheit.

Easy

Problem Statement

Convert Celsius to Fahrenheit.

Sample Input

celsius = 25

Sample Output

Fahrenheit = 77.0

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
#include <stdio.h> int main() { float celsius = 25; float fahrenheit; // Logic to convert Celsius to Fahrenheit return 0; }
Log in or sign up to run or submit your code.Log inSign up
Input
celsius = 25
Expected Output
Fahrenheit = 77.0