Files
WeatherService/Weather.h

21 lines
488 B
C++

#pragma once
#include <string>
#include <iostream>
class Weather {
private:
std::string city; // Киров
double lon; // 49.6601
double lat; // 58.5966
double temperature; // 5.69
std::string weather; // дождь
double windSpeed; // 4.27
int clouds; // 100
public:
Weather(const std::string& city, double lon, double lat, double temperature,
const std::string& weather, double windSpeed, int clouds);
void printWeather() const;
};