Recently, the Internet of Things (IoT) plays a dynamic role in smart city applications for making every object or thing or resource to be smart by connecting to the Internet. In such an environment, there is a huge gulf between the users and IoT applications from a programming perspective. To address this problem, adaptive programming and cloud technologies have been proposed for IoT applications by making use of exploratory case study approaches. Extensive simulation has been conducted using ThingSpeak, Ubidots, the IoT cloud platforms, Raspberry Pi 3 Model B, IoT Aws (Amazon web services), Arduino and ESP8266 on various case studies, and these studies give rise to optimum results compared to state-of-the-art schemes. Finally, the proposed chapter may fill the gap between the IoT developers, research scholars, and users from IoT platforms, especially in programming and from an experimental point of view.